@import "./font.scss";

#index {
  color: #d3d6dd;
  background-color: #131625;
  width: 100%;
  height: 100vh;
  overflow: auto;
  //padding: 0.2rem 0.2rem 0 0.2rem;
  scrollbar-width: none; /* firefox */
  -ms-overflow-style: none; /* IE 10+ */

  &::-webkit-scrollbar {
    display: none;
  }
  .bg {
    height: 100%;
    //height: 100vh;
    //padding: 0.2rem 0.2rem 0 0.2rem;
    //padding: 1rem 0.5rem 0.5rem 0.5rem;
    //background-image: url("../assets/pageBg.png");
    background-size: cover;
    background-position: center center;
    //overflow: hidden;
    .border-box-content {

      //padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
  }

  .host-body {
    .title {
      position: relative;
      width: 6.25rem;
      //width: 80%;
      text-align: center;
      background-size: cover;
      background-repeat: no-repeat;

      .title-text {
        width: 100%;
        font-size: 0.3rem;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%);
      }

      .title-bototm {
        position: absolute;
        bottom: -0.375rem;
        left: 50%;
        transform: translate(-50%);
      }
    }

    // 平行四边形
    .react-left {
      cursor: pointer;
      font-size: 0.225rem;
      width: 3.75rem;
      height: 0.625rem;
      line-height: 0.625rem;
      text-align: center;
      transform: skewX(-45deg);

      .react-after {
        position: absolute;
        right: -0.3125rem;
        top: 0;
        height: 0.625rem;
        width: 0.625rem;
        background-color: #0f1325;
        transform: skewX(45deg);
      }

      .text {
        display: inline-block;
        transform: skewX(45deg);
      }
    }

    .react-right {
      cursor: pointer;
      font-size: 0.225rem;
      width: 3.75rem;
      height: 0.625rem;
      line-height: 0.625rem;
      text-align: center;
      transform: skewX(45deg);

      .react-before {
        position: absolute;
        left: -0.3125rem;
        top: 0;
        height: 0.625rem;
        width: 0.625rem;
        background-color: #0f1325;
        transform: skewX(-45deg);
      }

      .text {
        display: inline-block;
        transform: skewX(-45deg);
      }
    }

    .body-box {
      margin-top: 0.2rem;
      display: flex;
      flex-direction: column;

      //下方区域的布局
      .content-box {
        display: grid;
        grid-template-columns: 2fr 3fr 5fr 3fr 2fr;
      }

      // 底部数据
      .bototm-box {
        margin-top: 0.125rem;
        display: grid;
        grid-template-columns: repeat(2, 50%);
      }
    }
  }
}
